.a,
.b,
.b:before,
.b:after
  color: red

@media print
  .c,
  .c:before,
  .c:after
    color: green

